
package com.zjff.myshop.common;

public class Constants {
    public final static String FILE_UPLOAD_DIC = "D:\\IdeaProjects\\myshop-springboot-vue3\\uploads\\";//上传文件的默认url前缀，根据部署设置自行更改
    //首页轮播图数量(可根据自身需求更改)
    public final static int HOME_CAROUSEL_NUMBER = 5;
    //首页热卖商品数量
    public final static int HOME_GOODS_HOT_NUMBER = 6;
    //首页新品数量
    public final static int HOME_GOODS_NEW_NUMBER = 6;
    //首页推荐商品数量
    public final static int HOME_GOODS_RECOMMOND_NUMBER = 6;

    //购物车中商品的最大数量(可根据自身需求更改)
    public final static int SHOPPING_CART_ITEM_TOTAL_NUMBER = 20;
    //购物车中单个商品的最大购买数量(可根据自身需求更改)
    public final static int SHOPPING_CART_ITEM_LIMIT_NUMBER = 5;

    //搜索分页的默认条数(每页)
    public final static int PAGE_LIMIT = 10;
    //购物车分页的默认条数(每页) 默认不分页
    public final static int SHOPPING_CART_PAGE_LIMIT = 10000;
    //我的订单列表分页的默认条数(每页) 默认不分页
    public final static int ORDER_SEARCH_PAGE_LIMIT = 10000;

    //商品上架状态
    public final static int SELL_STATUS_UP = 1;
    //商品下架状态
    public final static int SELL_STATUS_DOWN = 0;


}
